Pelago\Emogrifier\HtmlProcessor\CssToAttributeConverter S

Total Complexity 42
Dependencies 3
Dependents 0
Total lines 289
Lines of code 113
Logical lines of code 72
Comment lines 127
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
mapComplexCssProperty()
S
57 6 18
mapSimpleCssProperty()
S
59 6 13
parseCssDeclarationsBlock()
S
56 4 17
mapMarginProperty()
S
64 4 9
mapBorderProperty()
S
66 4 8
parseCssShorthandValue()
S
63 4 9
mapBackgroundProperty()
S
65 3 8
convertCssToVisualAttributes()
S
68 2 7
mapCssToHtmlAttributes()
S
69 2 6
mapCssToHtmlAttribute()
S
72 2 5
mapWidthOrHeightProperty()
S
68 2 7
isTableOrImageNode()
S
79 2 3
getAllNodesWithStyleAttribute()
S
80 1 3